package com.craterhill.java.ccp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ccp.common.beans.Role;
import com.craterhill.java.ccp.dao.RolesDao;
import com.craterhill.java.ccp.service.RolesService;

@Service
public class RolesServiceImpl implements RolesService {

	@Autowired
	private RolesDao rolesDao;

	public List<Role> getRoles() {
		return rolesDao.findAll();
	}

	@Override
	public Role getRole() {
		return null;
	}

}
